Method, device, and system of synchronously playing media file

ABSTRACT

The present disclosure proposes a method of synchronously playing media file. The method includes: receiving, with a mobile terminal, parameter information from a playing device, the parameter information including a current playing progress and a total time length of a current playing media file; starting to count time, with the mobile terminal, upon receiving the parameter information and calculating, with the mobile terminal, a real-time playing progress of the media file based on a predetermined time interval according to the parameter information and timing information; displaying, with the mobile terminal, the real-time playing progress on a display interface. The present disclosure solves unstable data transmission and enhances the accuracy of displaying progress of the playing device.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of International Application No.PCT/CN2015/095692, filed on Nov. 26, 2015, which claims priority toChinese patent application No. 201510081196.6, filed on Feb. 13, 2015,the content of which are incorporated herein by reference in theirentirety.

BACKGROUND OF THE DISCLOSURE

1. Field of the Disclosure

The present disclosure relates to the electronic technology, and moreparticularly, to a method of synchronously playing media file, a deviceof synchronously playing media file, and a system of synchronouslyplaying media file.

2. Description of the Related Art

With the development of mobile terminal technology, mobile terminals,such as smart cellphones and tablet computers, have more and morefunctions. In at least one embodiment, a playing device, a washingmachine, or a television can be controlled by a mobile terminal.

Nowadays, a conventional method of displaying a playing progress ofmedia file played by a playing device is that a mobile terminal sends arequest of acquiring a current playing time of media file to a playingdevice through the Internet (in at least one embodiment, sends a requestof acquiring a current playing time to a playing device every oneminute) to confirm the current playing time. However, provided that theInternet speed is poor with the method, message delay or even packetloss may occur when frequent message transmission among the devices.Thereby, the unstable display or jitters of the playing time progressaffect the stability of data transmission.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to more clearly illustrate the embodiments of the presentdisclosure or related art, the following figures will be described inthe embodiments are briefly introduced. It is obvious that the drawingsare merely some embodiments of the present disclosure, those of ordinaryskill in this field can obtain other figures according to these figureswithout paying the premise.

FIG. 1 shows a flowchart of a method of synchronously playing media fileaccording to a first embodiment of the present disclosure.

FIG. 2 is a flowchart of a method of synchronously playing media fileaccording to the second embodiment of the present disclosure.

FIG. 3 is a schematic diagram of the network structure of synchronouslyplaying media file according to a second embodiment of the presentdisclosure.

FIG. 4 is a flowchart of a method of synchronously playing media fileaccording to a third embodiment of the present disclosure.

FIG. 5 is a scenario diagram of synchronously playing media fileaccording to the third embodiment of the present disclosure.

FIG. 6 is a block diagram of a mobile terminal according to the firstembodiment of the present disclosure.

FIG. 7 is a block diagram of a playing device according to an embodimentof the present disclosure.

FIG. 8 is a block diagram of a mobile terminal according to analternative embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Embodiments of the present disclosure are described in detail with thetechnical matters, structural features, achieved objects, and effectswith reference to the accompanying drawings as follows. Specifically,the terminologies in the embodiments of the present disclosure aremerely for describing the purpose of the certain embodiment, but not tolimit the invention.

Each of the embodiments of the present disclosure proposes a method ofdisplaying a playing progress of media file, a device of the media file,and a system of the media file in order to solve unstable datatransmission and enhance the accuracy of displaying progress of playingdevice.

Embodiments of the present disclosure are described in detail with thetechnical matters, structural features, achieved objects, and effectswith reference to the accompanying drawings as follows. Specifically,the terminologies in the embodiments of the present disclosure aremerely for describing the purpose of the certain embodiment, but not tolimit the invention.

Terms, used in the specifications, the claims, and the figures in thepresent disclosure, such as first, second, third, and fourth, are usedto distinguish one item from another instead of specifying a certainsequence. In addition, terms, such as include, contain, consist of,etc., are intended to cover non-exclusive similar terms. In at least oneembodiment, the present disclosure includes a series of blocks, theprocess of units, methods, systems, products, or devices which mayinclude unlisted blocks or units. In at least one embodiment, thepresent disclosure includes unlisted blocks or units. Or in at least oneembodiment, the present disclosure further includes other inherentblocks or units for the process of units, the methods, the systems, theproducts, or the devices.

Mobile terminal in the disclosure can be a cellphone, a tablet computer(PAD), a notebook computer, a palm computer, a mobile internet device(MID), a wearable device (such as a smartwatch like iwatch, a smartbracelet, and a pedometer), and other terminal devices equipped withinstant messaging application client. The disclosed is not intended tolimit the scope of the mobile terminal.

Playing device in the present disclosure can be a mobile terminal, aspeaker, a blue-ray playing device, or any other devices capable ofplaying media file. The disclosed is not intended to limit the scope ofthe playing device.

A display method of playing media file is proposed according to anembodiment of the present disclosure. The method of playing media fileincludes the followings. The mobile terminal receives parameterinformation from the playing device. In at least one embodiment, theparameter information includes a current playing progress and a totaltime length of the current playing media file of the playing device. Thecurrent playing progress of the media file is calculated by the mobileterminal based on the predetermined time interval according to theparameter information and the timing information after the mobileterminal receives the parameter information and starts to count time.The current playing progress is displayed on the display interface ofthe mobile terminal.

Please refer to FIG. 1 which shows a flowchart of a method ofsynchronously playing media file according to a first embodiment of thepresent disclosure. The method of synchronously playing media fileincludes block S101 to block S103 as follows.

At block S101, a mobile terminal receives parameter information from aplaying device.

In at least one embodiment, the mobile terminal sends an acquiringrequest of acquiring the parameter information of the current playingmedia file to the playing device. The playing device acquires theparameter information of the current playing media file of the playingdevice and sends the parameter information to the mobile terminal inresponse to the acquiring request from the mobile terminal. Afterwards,the mobile terminal receives the parameter information from the playingdevice. The parameter information includes the current playing progressand the total time length of the current playing media file of theplaying device.

The parameter information further includes the information of theplaying media file (such as type of the file, title of the file, lyrics,release time, size of the file, resolution, and album), the informationof the playing status (such as pause, play, fast-forward, andfast-backward), and the information of the playing mode (such assequence, random, circulation, and single circulation) in addition tothe current playing progress and the total time length of the currentplaying media file of the playing device.

The media file includes an audio file, a video file, and so on.

At block S102, the mobile terminal starts to count time upon receivingthe parameter information.

In at least one embodiment, the mobile terminal receives the parameterinformation and enables a timer in the mobile terminal to count time.

At block S103, the mobile terminal periodically calculates the real-timeplaying progress of the media file by a predetermined time intervalaccording to the parameter information and the timing information.

In at least one embodiment, the current playing time in the currentplaying progress of the current playing media file of the playing deviceis set as a beginning time, and the total time length minus currentplaying time of the current playing media file is set as an ending timethrough the timer in the mobile terminal. Afterwards, the mobileterminal periodically calculates the real-time playing progress of themedia file by the predetermined time interval according to the timinginformation.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

At block S104, the mobile terminal displays the real-time playingprogress on a display interface.

In at least one embodiment, the display interface of the mobile terminalincludes a playing control interface of the real-time playing progress.The playing control interface further includes a pause/play button, afast-forward/fast-backward button, a previous/next one button, etc.

As can be seen from the above, the playing device sends the parameterinformation to the mobile terminal in this embodiment of the presentdisclosure. The mobile terminal starts to count time upon receiving theparameter information. The mobile terminal periodically calculates thereal-time playing progress of the media file by the predetermined timeinterval according to the parameter information and the timinginformation, and displays the real-time playing progress on the displayinterface. In this way, unstable data transmission is solved, and theaccuracy of displaying progress of playing device is improved as well.

In at least one embodiment, before receiving the parameter informationfrom the playing device, the mobile terminal sends a connection requestto the playing device. Afterwards, the playing device sends a completeresponse, which indicates a completion of a connection between theplaying device and the mobile terminal, to the mobile terminal inresponse to the connection request sent from the playing device to themobile terminal.

In at least one embodiment, after the real-time playing progress isdisplayed on the display interface of the mobile terminal, the mobileterminal receives a first touch command once the user triggers the pausebutton on the playing control interface. Afterwards, the mobile terminalreceives the pause command. The mobile terminal sends the pause commandof stopping playing the media file to the playing device so that theplaying device can stop playing the media file in response to the pausecommand.

In at least one embodiment, after the mobile terminal sends the pausecommand of stopping playing the media file to the playing device, theplaying device stops playing the media file in response to the pausecommand of stopping playing the media file from the mobile terminal. Theplaying device sends a pause playing status of the media file to themobile terminal. Afterwards, the mobile terminal stops counting timeupon receiving the pause playing status to ensure that a first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

In at least one embodiment, after the real-time playing progress isdisplayed on the display interface of the mobile terminal, the mobileterminal receives a second touch command of thefast-forward/fast-backward button once the user triggers thefast-forward/fast-backward button on the playing control interface.Afterwards, the mobile terminal receives the fast-forward/fast-backwardcommand. The mobile terminal sends the fast-forward/fast-backwardcommand of fast-forwarding/fast-reversing the media file to the playingdevice so that the playing device, in response to thefast-forward/fast-backward command, can play the media file according tothe predetermined fast-forward/fast-backward strategy.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In at least one embodiment, after the mobile terminal sends thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device, the playing device plays the mediafile according to the predetermined fast-forward/fast-backward strategy,and sends the fast-forwarding/fast-reversing status of the media file tothe mobile terminal. Afterwards, the mobile terminal receives thefast-forwarding/fast-reversing status of the media file from the playingdevice. The mobile terminal starts to count time upon receiving thefast-forwarding/fast-reversing status according to the predeterminedfast-forward/fast-backward strategy to ensure that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

In at least one embodiment, after the real-time playing progress isdisplayed on the display interface of the mobile terminal, the mobileterminal receives a third touch command of the previous/next one buttononce the user triggers the previous/next one button on the playingcontrol interface. Afterwards, the mobile terminal receives theprevious/next file command. The mobile terminal sends the playingcommand of playing the previous/next media file to the playing device sothat the playing device can play the previous/next media file inresponse to the playing command of playing the previous/next media file.

FIG. 3 is a schematic diagram of the network structure of synchronouslyplaying media file according to a second embodiment of the presentdisclosure. In FIG. 3, a plurality of mobile terminals are connected toa playing device through the network (including but not being limited towireless connection such as Wi-Fi or wired connection). In at least oneembodiment, the plurality of mobile terminals and the playing devicerespectively enter a local area network (LAN) where a wireless router isthrough Wi-Fi. The plurality of mobile terminals are communicativelyconnected to the playing device through the wireless network. FIG. 2 isa flowchart of a method of synchronously playing media file according tothe second embodiment of the present disclosure. The method ofsynchronously playing media file according to the second embodiment ofthe present disclosure includes following blocks:

At block S201, a playing device receives connection requests from Nmobile terminals. In at least one embodiment, N represents an integerlarger than or equal to one.

At block S202, the playing device sends a complete response, indicatinga completion of connections among the playing device and the N mobileterminals, to the mobile terminals in response to the connection requestsent from the playing device to the N mobile terminals.

At block S203, the playing device sends parameter information to the Nmobile terminals so that the N mobile terminals can start to count timeupon receiving the parameter information, periodically calculate a firstreal-time playing progress of the media file by a predetermined timeinterval according to the parameter information and timing information,and display the real-time playing progress on a display interface.

The parameter information includes the current playing progress and thetotal time length of the current playing media file of the playingdevice. N represents an integer larger than or equal to one.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

In at least one embodiment, after sending the parameter information tothe N mobile terminals, the playing device receives a pause command ofstopping playing the media file from one of the N mobile terminals. Theplaying device stops playing the media file in response to the pausecommand.

In at least one embodiment, after the playing device stops playing themedia file in response to the pause command, the playing device sendsthe pause playing status of the media file to the N mobile terminals.Afterwards, the N mobile terminals stop counting time upon receiving thepause playing status to ensure that the first real-time playing progressdisplayed on the display interface of the mobile device synchronizeswith the current playing progress of the current playing media file ofthe playing device.

In at least one embodiment, after sending the parameter information tothe N mobile terminals, the playing device receives afast-forward/fast-backward command of fast-forwarding/fast-reversing theplaying media file from one of the N mobile terminals. The playingdevice plays the media file according to the predeterminedfast-forward/fast-backward strategy in response to thefast-forward/fast-backward command.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In at least one embodiment, the playing device sends thefast-forwarding/fast-reversing status of the media file to the N mobileterminals after the playing device, in response to thefast-forward/fast-backward command, plays the media file according tothe predetermined fast-forward/fast-backward strategy so that the Nmobile terminals can start to count time upon receiving thefast-forwarding/fast-reversing status according to the predeterminedfast-forward/fast-backward strategy to ensure that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

In at least one embodiment, after sending the parameter information tothe N mobile terminals, the playing device receives a playing command ofplaying the previous/next media file from one of the N mobile terminals.The playing device plays the media file in response to the playingcommand.

As can be seen from the above, the playing device sends the parameterinformation to the N mobile terminals in this embodiment of the presentdisclosure. The N mobile terminals start to count time upon receivingthe parameter information. The N mobile terminals calculate the firstreal-time playing progress of the media file based on the predeterminedtime interval according to the parameter information and the timinginformation, and display the real-time playing progress on the displayinterface. The parameter information includes the current playingprogress and the total time length of the current playing media file ofthe playing device. N represents an integer larger than or equal to one.In this way, unstable data transmission is solved, and the accuracy ofdisplaying progress of playing device is improved as well.

FIG. 5 is a scenario diagram of synchronously playing media fileaccording to a third embodiment of the present disclosure. In FIG. 5, amobile terminal is connected to a playing device through the network(including but not being limited to wireless or wired connection such asWi-Fi). Please refer to FIG. 4 as well. FIG. 4 is a flowchart of amethod of synchronously playing media file according to the thirdembodiment of the present disclosure. The method of synchronouslyplaying media file according to the third embodiment of the presentdisclosure includes following blocks:

At block S301, a mobile terminal sends a connection request to a playingdevice.

At block S302, the playing device sends a complete response, indicatinga completion of a connection between the playing device and the mobileterminal, to the mobile terminal in response to the connection requestsent from the playing device to the mobile terminal.

At block S303, the mobile terminal sends an acquiring request ofacquiring parameter information of current playing media file to theplaying device.

At block S304, the playing device sends the parameter information of thecurrent playing media file of the playing device to the mobile terminalin response to the acquiring request from the mobile terminal.

At block S305, the mobile terminal starts to count time upon receivingthe parameter information.

At block S306, the mobile terminal periodically calculates the real-timeplaying progress of the media file by a predetermined time intervalaccording to the parameter information and timing information.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

At block S307, the mobile terminal displays a real-time playing progresson a display interface.

The display interface of the mobile terminal includes a playing controlinterface for showing the real-time playing progress.

In at least one embodiment, the user triggers the pause button on theplaying control interface with a gesture. Afterwards, the mobileterminal receives the pause command. The mobile terminal sends the pausecommand of stopping playing the media file to the playing device. Theplaying device stops playing the media file in response to the pausecommand. The playing device sends the pause playing status of the mediafile to the mobile terminal. Afterwards, the mobile terminal stopscounting time upon receiving the pause playing status to ensure that thefirst real-time playing progress displayed on the display interface ofthe mobile device synchronizes with the current playing progress of thecurrent playing media file of the playing device.

In at least one embodiment, the user triggers thefast-forward/fast-backward button on the playing control interface witha gesture so that the mobile terminal can receive thefast-forward/fast-backward command. The mobile terminal sends thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device. The playing device plays the mediafile according to the predetermined fast-forward/fast-backward strategyin response to the fast-forward/fast-backward command. The playingdevice sends the fast-forwarding/fast-reversing status of the media fileto the mobile terminal. Afterwards, the mobile terminal receives thefast-forwarding/fast-reversing status of the media file from the playingdevice. The mobile terminal starts to count time upon receiving thefast-forwarding/fast-reversing status according to the predeterminedfast-forward/fast-backward strategy to ensure that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In at least one embodiment, the user triggers the previous/next onebutton on the playing control interface with a gesture. Afterwards, themobile terminal receives the previous/next file command. The mobileterminal sends the playing command of playing the previous/next mediafile to the playing device. The playing device plays the previous/nextmedia file in response to the playing command.

As can be seen from the above, after the mobile terminal is connected tothe playing device, the mobile terminal sends an acquiring request ofacquiring the parameter information of the current playing media file tothe playing device. Then, the mobile terminal receives the parameterinformation from the playing device. The mobile terminal starts to counttime upon receiving the parameter information. The real-time playingprogress of the media file is periodically calculated with the mobileterminal by the predetermined time interval according to the parameterinformation and the timing information. The real-time playing progressis displayed on the display interface of the mobile terminal. In thisway, unstable data transmission is solved, and the accuracy ofdisplaying progress of playing device is improved as well.

Please refer to FIGS. 6 and 7. FIG. 6 is a block diagram of a mobileterminal 400 according to the first embodiment of the presentdisclosure. FIG. 7 is a block diagram of a playing device 500 accordingto the first embodiment of the present disclosure. The mobile terminal400 includes a processor 603 and a memory 604 electrically connected tothe processor 603. A plurality of program instructions stored in thememory 604 are executable by the processor 603 to cause the processor603 to perform corresponding functions. The plurality of programinstructions include the following units 401-415.

A first receiving unit 401 is configured to cause the processor 603 toreceive the parameter information from the playing device 500. Theparameter information includes a current playing progress and a totaltime length of a current playing media file of the playing device 500.

A first timing unit 402 is configured to cause the processor 603 tostart to count time upon receiving the parameter information by thefirst receiving unit 401.

A first calculating unit 403 is configured to cause the processor 603 toperiodically calculate the real-time playing progress of the media fileby a predetermined time interval according to the parameter informationand the timing information.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

A first display unit 404 is configured to cause the processor 603 todisplay the real-time playing progress periodically calculated by thefirst calculating unit 403 on the display interface.

In at least one embodiment, before the first receiving unit 401 receivesthe parameter information from the playing device 500, the mobileterminal further includes a first sending unit 405. The first sendingunit 405 is configured to cause the processor 603 to send a connectionrequest to the playing device 500. The playing device 500 sends acomplete response indicating a completion of a connection between theplaying device 500 and the mobile terminal, to the mobile terminal inresponse to the connection request sent from the playing device 500 tothe mobile terminal.

In at least one embodiment, after the first display unit 404 displaysthe real-time playing progress periodically calculated by the firstcalculating unit 403 on the display interface, the mobile terminalfurther includes a second receiving unit 406 and a second sending unit407. The second receiving unit 406 is configured to cause the processor603 to receive the pause command. The second sending unit 407 isconfigured to cause the processor 603 to send the pause command ofstopping playing the media file to the playing device 500 so that theplaying device 500 can stop playing the media file in response to thepause command.

In at least one embodiment, after the second sending unit 407 sends thepause command of stopping playing the media file to the playing device500, the mobile terminal 400 further includes a third receiving unit 408and a second timing unit 409. The third receiving unit 408 is configuredto cause the processor 603 to receive the pause playing status of themedia file from the playing device 500. The second timing unit 409 isconfigured to cause the processor 603 to stop counting time uponreceiving the pause playing status from the third receiving unit. Itmakes sure that the first real-time playing progress displayed on thedisplay interface of the mobile device synchronizes with the currentplaying progress of the current playing media file of the playing device500.

In at least one embodiment, after the first display unit 404 displaysthe real-time playing progress periodically calculated by the firstcalculating unit 403 on the display interface, the mobile terminal 400further includes a fourth receiving unit 410 and a third sending unit411. The fourth receiving unit 410 is configured to cause the processor603 to receive the fast-forward/fast-backward command. The third sendingunit 411 is configured to cause the processor 603 to send thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device 500. It makes sure that the playingdevice 500 plays the media file according to the predeterminedfast-forward/fast-backward strategy in response to thefast-forward/fast-backward command.

In at least one embodiment, after the third sending unit 411 sends thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device 500, the mobile terminal 400 furtherincludes a fifth receiving unit 412 and a third timing unit 413. Thefifth receiving unit is configured to cause the processor 603 to receivethe fast-forwarding/fast-reversing status of the media file from theplaying device 500. The third timing unit 413 is configured to cause theprocessor 603 to start to count time upon receiving thefast-forwarding/fast-reversing status according to the predeterminedfast-forward/fast-backward strategy. It ensures that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device 500.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In at least one embodiment, after the first receiving unit 401 displaysthe real-time playing progress periodically calculated by the firstcalculating unit 403 on the display interface, the mobile terminal 400further includes a sixth receiving unit 414 and a fourth sending unit415. The sixth receiving unit 414 is configured to cause the processor603 to receive the previous/next file command. The fourth sending unit415 is configured to cause the processor 603 to send the playing commandof playing the previous/next media file to the playing device 500. Itmakes sure that the playing device 500 plays the previous/next mediafile in response to the playing command.

It is understood that all of the function units of the mobile terminal400 can be realized according to the method proposed by this embodiment.The realization refers to the description of this embodiment, and nodetails are provided here.

As can be seen from the above, the first receiving unit 401 receives theparameter information. The parameter information includes a currentplaying progress and a total time length of the current playing mediafile of the playing device 500. The first timing unit 402 is configuredto cause the processor 603 to start to count time upon receiving theparameter information by the first receiving unit 401. The firstcalculating unit 403 is configured to cause the processor 603 toperiodically calculate the real-time playing progress of the media filebased by a predetermined time interval according to the parameterinformation and the timing information. The first display unit 404 isconfigured to cause the processor 603 to display the real-time playingprogress periodically calculated by the first calculating unit 403 onthe display interface. In this way, unstable data transmission issolved, and the accuracy of displaying progress of playing device 500 isimproved as well.

Please refer to FIG. 7. FIG. 7 is a block diagram of a playing device500 according to the first embodiment of the present disclosure.

The playing device 500 includes a processor 530 and a memory 520electrically connected to the processor 530. A plurality of programinstructions stored in the memory 520 are executable by the processor530 to cause the processor 530 to perform corresponding functions. Theplurality of program instructions include a first transmitting unit 501which is configured to cause the processor 530 to send the parameterinformation to the N mobile terminals so that the N mobile terminalsstart to count time upon receiving the parameter information,periodically calculate the first real-time playing progress of the mediafile by the predetermined time interval according to the parameterinformation and the timing information, and display the real-timeplaying progress on the display interface.

The parameter information includes the current playing progress and thetotal time length of the current playing media file of the playingdevice. N represents an integer larger than or equal to one.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

In at least one embodiment, before the transmitting unit 501 sends theparameter information to the N mobile terminals, the playing device 500further includes a first acquiring unit 502 and a second transmittingunit 503. The first acquiring unit 502 is configured to cause theprocessor 530 to receive connection requests from the N mobileterminals. The second transmitting unit 503 is configured to cause theprocessor 530 to send a complete response to the N mobile terminals,after connections between the N mobile terminals and the playing devicein response to the connection requests are established.

In at least one embodiment, after the transmitting unit 501 sends theparameter information to the N mobile terminals, the playing device 500further includes a second acquiring unit 504 and a pause unit 505. Thesecond acquiring unit 504 is configured to cause the processor 530 toreceive a pause command of stopping playing the media file from one ofthe N mobile terminals. The pause unit 505 is configured to cause theprocessor 530 to stop playing the media file in response to the pausecommand received by the second acquiring unit.

In at least one embodiment, after the pause unit 505 stops playing themedia file in response to the pause command received by the secondacquiring unit 504, the playing device 500 further includes a thirdtransmitting unit 506 configured to cause the processor 530 to send thepause playing status of the media file to the N mobile terminals.Therefore, the N mobile terminals 400 can stop counting time uponreceiving the pause playing status to ensure that the first real-timeplaying progress displayed on the display interface of the mobile device400 synchronizes with the current playing progress of the currentplaying media file of the playing device 500.

In at least one embodiment, after the transmitting unit 501 sends theparameter information to the N mobile terminals, the playing device 500further includes a third acquiring unit 507 and afast-forwarding/fast-reversing unit 508. The third acquiring unit isconfigured to cause the processor 530 to receive thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file from one of the N mobile terminals 400. Thefast-forwarding/fast-reversing unit 508 is configured to cause theprocessor 530 to play the media file according to the predeterminedfast-forward/fast-backward strategy in response to thefast-forward/fast-backward command received by the third acquiring unit507.

In at least one embodiment, after the fast-forwarding/fast-reversingunit 508 plays the media file in response to thefast-forward/fast-backward command received by the third acquiring unit507 according to the predetermined fast-forward/fast-backward strategy,the playing device 500 further includes a fourth transmitting unit 509.The fourth transmitting unit 508 is configured to cause the processor530 to send the fast-forwarding/fast-reversing status of the media fileto the N mobile terminals 400 so that the N mobile terminals 400 canstart to count time upon receiving the fast-forwarding/fast-reversingstatus according to the predetermined fast-forward/fast-backwardstrategy to ensure that the first real-time playing progress displayedon the display interface of the mobile device 400 synchronizes with thecurrent playing progress of the current playing media file of theplaying device 500.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In at least one embodiment, after the transmitting unit 501 sends theparameter information to the N mobile terminals, the playing device 500further includes a fourth acquiring unit 510 and a playing unit 512. Thefourth acquiring unit 510 is configured to cause the processor 530 toreceive a playing command of playing the previous/next media file fromone of the N mobile terminals. The playing unit 511 is configured tocause the processor 530 to play the previous/next media file in responseto the playing command received by the fourth acquiring unit 510.

It is understood that all of the function modules of the playing device500 can be realized according to the method proposed by this embodiment.The realization refers to the description of this embodiment, and nodetails are provided herein.

As can be seen from the above, the transmitting unit 501 sends theparameter information to the N mobile terminals in this embodiment ofthe present disclosure so that the N mobile terminals 400 can start tocount time upon receiving the parameter information, calculate the firstreal-time playing progress of the media file based on the predeterminedtime interval according to the parameter information and the timinginformation, and display the real-time playing progress on the displayinterface. The parameter information includes the current playingprogress and the total time length of the current playing media file ofthe playing device. N represents an integer larger than or equal to one.As a result, unstable data transmission is solved, and the accuracy ofdisplaying progress of playing device 500 is improved.

Please refer to FIG. 8. FIG. 8 is a block diagram of a mobile terminal600 according to the embodiment of the present disclosure. The mobileterminal 600 includes one or more input devices 601, one or more outputdevices 602, one or more processors 603, such as a central processingunit (CPU), and a memory 604. The input device 601, the output device602, the processor 603, and the memory 604 are connected through a bus605. The memory 604 stores the plurality of program instructionsexecutable by the processors 603 as provided in FIG. 6.

Specifically, the input device 601 is a touch panel of the mobileterminal. The input device 601 includes a touch screen and a touchmonitor. The input device 601 is configured to sense operationalcommands on the touch panel of the mobile terminal.

Specifically, the output device 602 is a display panel of the mobileterminal. The output device 602 is configured to output and displayinginformation.

The memory 604 can be a high-speed random access memory (RAM) memory andan unstable non-volatile memory such as a magnetic disc storage. Thememory 604 is configured to store a set of source code, the input device601, the output device 602, and the processor 603. The processor 603 isconfigured to call the set of source code stored in the memory 604. Theoperation of the memory 604 is described as follows:

The input device 601 is configured to receive the parameter informationfrom the playing device. The parameter information includes the currentplaying progress and the total time length of the current playing mediafile of the playing device.

The processor 603 is configured to start to count time upon receivingthe parameter information and periodically calculating the real-timeplaying progress of the media file by the predetermined time intervalaccording to the parameter information and the timing information.

The predetermined time interval is set as 30 milliseconds (ms), 50milliseconds, one second (s), two seconds, or other values.

The output device 602 is configured to display the real-time playingprogress on the display interface.

In other embodiments, before the input device 601 receives the parameterinformation from the playing device, the output device 602 is furtherconfigured to send a complete response, indicating a completion of aconnection between the playing device and the mobile terminal, to themobile terminal in response to the connection request sent from theplaying device to the mobile terminal.

In other embodiments, after the output device 602 displays the real-timeplaying progress on the display interface, the input device 601 isfurther configured to receive the pause command.

The output device 602 is further configured to send the pause command ofstopping playing the media file to the playing device so that theplaying device can stop playing the media file in response to the pausecommand.

In other embodiments, after the output device 602 sends the pausecommand of stopping playing the media file to the playing device, theoutput device 602 is further configured to receive the pause playingstatus of the media file from the playing device.

The processor 603 is further configured to stop counting time uponreceiving the pause playing status to ensure that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

In other embodiments, after the input device 601 displays the real-timeplaying progress on the display interface, the input device 601 isfurther configured to receive the fast-forward/fast-backward command.

The output device 602 is further configured to send thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device so that the playing device can play themedia file according to the predetermined fast-forward/fast-backwardstrategy in response to the fast-forward/fast-backward command.

The predetermined fast-forward/fast-backward strategy is, in at leastone embodiment, to skip once every five seconds, to skip once every tenseconds, to skip once every thirty seconds, etc.

In other embodiments, after the output device 602 sends thefast-forward/fast-backward command of fast-forwarding/fast-reversing themedia file to the playing device, the input device 601 is furtherconfigured to receive the fast-forwarding/fast-reversing status of themedia file sent from the playing device.

The processor 603 is further configured to count time upon receiving thefast-forwarding/fast-reversing status according to the predeterminedfast-forward/fast-backward strategy to ensure that the first real-timeplaying progress displayed on the display interface of the mobile devicesynchronizes with the current playing progress of the current playingmedia file of the playing device.

In other embodiments, after the output device 602 displays the real-timeplaying progress on the display interface, the input device 601 isfurther configured to receive the previous/next file command.

The output device 602 is further configured to send the playing commandof playing the previous/next media file to the playing device so thatthe playing device can play the previous/next media file in response tothe playing command of playing the previous/next media file.

The input device 601, the output device 602, and the processor 603perform their functions well according to the descriptions about themethod of synchronously playing media file in each of the embodimentsand according to the description about the mobile terminal in the firstembodiment. The detail will not be repeated here.

The units proposed by all of the embodiments are realized through theuniversal integrated circuit, such as a central processing unit (CPU),or the application specific integrated circuit (ASIC).

The order of the blocks of the method proposed this embodiment can beadjusted, combined, or deleted if needed.

The modules or unit of the device proposed this embodiment can becombined, divided, or deleted if needed.

One having ordinary skill in the art understands that all or some of theprocedures introduced in the above-mentioned embodiments are performedthrough computer programs which command relevant hardware. All of theprograms are stored in a computer-readable storage medium. The programsin operation include all of the procedures introduced in theabove-mentioned embodiments. The storage medium is a diskette, a compactdisc, a read-only memory (ROM), or a random access memory (RAM).

While the present disclosure has been described in connection with whatis considered the most practical and preferred embodiments, it isunderstood that this disclosure is not limited to the disclosedembodiments but is intended to cover various arrangements made withoutdeparting from the scope of the broadest interpretation of the appendedclaims.

What is claimed is:
 1. A method of synchronously playing media file,comprising: receiving, with a mobile terminal, parameter informationfrom a playing device, wherein the parameter information comprises acurrent playing progress and a total time length of a current playingmedia file; starting to count time, with the mobile terminal, uponreceiving the parameter information and calculating, with the mobileterminal, a real-time playing progress of the media file based on apredetermined time interval according to the parameter information andtiming information; displaying, with the mobile terminal, the real-timeplaying progress on a display interface.
 2. The method of claim 1,wherein before receiving, with the mobile terminal, parameterinformation from the playing device, the method further comprises:sending, with the mobile terminal, a connection request to the playingdevice so that the playing device sends a complete response, indicatinga completion of a connection between the playing device and the mobileterminal, to the mobile terminal in response to the connection requestsent from the playing device to the mobile terminal.
 3. The method ofclaim 1, wherein after displaying, with the mobile terminal, thereal-time playing progress on the display interface, the method furthercomprises: receiving, with the mobile terminal, a pause command;sending, with the mobile terminal, the pause command of stopping playingthe media file to the playing device so that the playing device stopsplaying the media file in response to the pause command.
 4. The methodof claim 3, wherein after sending, with the mobile terminal, the pausecommand of stopping playing the media file to the playing device, themethod further comprises: receiving, with the mobile terminal, a pauseplaying status of the media file from the playing device; and stoppingcounting time, with the mobile terminal, upon receiving the pauseplaying status to ensure that a first real-time playing progressdisplayed on the display interface of the mobile device synchronizeswith the current playing progress of the current playing media file ofthe playing device.
 5. The method of claim 1, wherein after displaying,with the mobile terminal, the real-time playing progress on the displayinterface, the method further comprises: receiving, with the mobileterminal, a fast-forward/fast-backward command; and sending, with themobile terminal, the fast-forward/fast-backward command offast-forwarding/fast-reversing the media file to the playing device sothat the playing device plays the media file according to apredetermined fast-forward/fast-backward strategy in response to thefast-forward/fast-backward command.
 6. The method of claim 5, whereinafter sending, with the mobile terminal, the fast-forward/fast-backwardcommand of fast-forwarding/fast-reversing the media file to the playingdevice, the method further comprises: receiving, with the mobileterminal, a fast-forwarding/fast-reversing status of the media file fromthe playing device; and starting to count time, with the mobileterminal, upon receiving the fast-forwarding/fast-reversing statusaccording to the predetermined fast-forward/fast-backward strategy toensure that a first real-time playing progress displayed on the displayinterface of the mobile device synchronizes with the current playingprogress of the current playing media file of the playing device.
 7. Themethod of claim 1, wherein after displaying, with the mobile terminal,the real-time playing progress on the display interface, the methodfurther comprises: receiving, with the mobile terminal, a previous/nextfile command; and sending, with the mobile terminal, a playing commandof playing a previous/next media file to the playing device so that theplaying device plays the previous/next media file in response to theplaying command of playing the previous/next media file.
 8. A mobileterminal comprising: a processor; a memory; and one or more programinstructions, stored in the memory and executable by the processor, theone or more program instructions comprising: a first receiving unit,configured to cause the processor to receive parameter information froma playing device, wherein the parameter information comprises a currentplaying progress and a total time length of a current playing media fileof the playing device; a first timing unit, configured to cause theprocessor to start to count time upon receiving the parameterinformation by the first receiving unit; a first calculating unit,configured to cause the processor to periodically calculate a real-timeplaying progress of the media file by a predetermined time intervalaccording to a parameter information and a timing information; and afirst display unit, configured to cause the processor to display thereal-time playing progress periodically calculated by the firstcalculating unit on a display interface.
 9. The mobile terminal of claim8 wherein the one or more program instructions further comprise: a firstsending unit, configured to cause the processor to send a connectionrequest to the playing device, so that the playing device sends acomplete response indicating a completion of a connection between theplaying device and the mobile terminal to the mobile terminal inresponse to the connection request sent from the playing device to themobile terminal.
 10. The mobile terminal of claim 8 wherein the one ormore program instructions further comprise: a second receiving unit,configured to cause the processor to receive a pause command; and asecond sending unit, configured to cause the processor to send the pausecommand of stopping playing the media file to the playing device so thatthe playing device stops playing the media file in response to the pausecommand.
 11. The mobile terminal of claim 10 wherein the one or moreprogram instructions further comprise: a third receiving unit,configured to cause the processor to receive a pause playing status ofthe media file from the playing device; and a second timing unit,configured to cause the processor to stop counting time upon receivingthe pause playing status from the third receiving unit, so that a firstreal-time playing progress displayed on the display interface of themobile device synchronizes with the current playing progress of thecurrent playing media file of the playing device.
 12. The mobileterminal of claim 8 wherein the one or more program instructions furthercomprise: a fourth receiving unit, configured to cause the processor toreceive a fast-forward/fast-backward command; and a third sending unit,configured to cause the processor to send the fast-forward/fast-backwardcommand of fast-forwarding/fast-reversing the media file to the playingdevice, so that the playing device plays the media file according to apredetermined fast-forward/fast-backward strategy in response to thefast-forward/fast-backward command.
 13. The mobile terminal of claim 12wherein the one or more program instructions further comprise: a fifthreceiving unit, configured to cause the processor to receive afast-forwarding/fast-reversing status of the media file from the playingdevice; and a third timing unit, configured to cause the processor tostart to count time upon receiving the fast-forwarding/fast-reversingstatus according to the predetermined fast-forward/fast-backwardstrategy, so that a first real-time playing progress displayed on thedisplay interface of the mobile device synchronizes with the currentplaying progress of the current playing media file of the playingdevice.
 14. The mobile terminal of claim 8 wherein the one or moreprogram instructions further comprise: a sixth receiving unit,configured to cause the processor to receive a previous/next filecommand; and a fourth sending unit, configured to cause the processor tosend a playing command of playing the previous/next media file to theplaying device, so that the playing device plays the previous/next mediafile in response to the playing command.
 15. A playing devicecomprising: a processor; a memory; and one or more program instructions,stored in the memory and executable by the processor, the one or moreprogram instructions comprising: a first transmitting unit, configuredto cause the processor to send parameter information to N mobileterminals, so that the N mobile terminals start to count time uponreceiving the parameter information, periodically calculate a firstreal-time playing progress of the media file by a predetermined timeinterval according to the parameter information and the timinginformation, and display real-time playing progress on a displayinterface; wherein the parameter information comprises a current playingprogress and a total time length of a current playing media file of theplaying device, and N represents an integer larger than or equal to one.16. The playing device of claim 15 wherein the one or more programinstructions comprise: a first acquiring unit, configured to cause theprocessor to receive connection requests from the N mobile terminals;and a second transmitting unit, configured to cause the processor tosend a complete response to the N mobile terminals, after connectionsbetween the N mobile terminals and the playing device in response to theconnection requests are established.
 17. The playing device of claim 15wherein the one or more program instructions comprise: a secondacquiring unit, configured to cause the processor to receive a pausecommand of stopping playing the media file from one of the N mobileterminals; and a pause unit, configured to cause the processor to stopplaying the media file in response to the pause command received by thesecond acquiring unit.
 18. The playing device of claim 17 wherein theone or more program instructions comprise: a third transmitting unit,configured to cause the processor to send a pause playing status of themedia file to the N mobile terminals, so that the N mobile terminalsstop counting time upon receiving the pause playing status to ensurethat the first real-time playing progress displayed on the displayinterface of the mobile device synchronizes with the current playingprogress of the current playing media file of the playing device. 19.The playing device of claim 15 wherein the one or more programinstructions comprise: a third acquiring unit, configured to cause theprocessor to receive a fast-forward/fast-backward command offast-forwarding/fast-reversing the media file from one of the N mobileterminals; and a fast-forwarding/fast-reversing unit, configured tocause the processor to play the media file according to a predeterminedfast-forward/fast-backward strategy in response to thefast-forward/fast-backward command received by the third acquiring unit.20. The playing device of claim 19 wherein the one or more programinstructions comprise: a fourth transmitting unit, configured to causethe processor to send a fast-forwarding/fast-reversing status of themedia file to the N mobile terminals, so that the N mobile terminalsstart to count time upon receiving the fast-forwarding/fast-reversingstatus according to the predetermined fast-forward/fast-backwardstrategy to ensure that the first real-time playing progress displayedon the display interface of the mobile device synchronizes with thecurrent playing progress of the current playing media file of theplaying device.